package cn.senjoeson.mylibrary.utilschanged;

import android.content.Context;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

import cn.senjoeson.mylibrary.R;

/**
 * @author Android
 * @date 2018/1/8
 */

public class GlideUtils {
    public static void loadImage(Context context, String url, ImageView imageView) {
        Glide.with(context)
                .load(url)
                .placeholder(R.drawable.timg)
                .centerCrop()
                .into(imageView);

    }

}
